package com.lion.ball.modules.orderfood.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.beans.factory.annotation.Autowired;
import com.lion.common.spring.business.base.BaseCrudController;
import com.lion.ball.modules.orderfood.domain.entity.OfdTableDynamicEntity;
import com.lion.ball.modules.orderfood.web.model.params.create.OfdTableDynamicCreateParam;
import com.lion.ball.modules.orderfood.web.model.params.update.OfdTableDynamicUpdateParam;
import com.lion.ball.modules.orderfood.web.model.params.search.OfdTableDynamicSearchParam;
import com.lion.ball.modules.orderfood.web.model.params.order.OfdTableDynamicOrderParam;
import com.lion.ball.modules.orderfood.web.model.results.OfdTableDynamicResult;
import com.lion.ball.modules.orderfood.dao.repository.OfdTableDynamicRepository;
import com.lion.ball.modules.orderfood.service.assistants.converters.OfdTableDynamicConverter;
import com.lion.ball.modules.orderfood.service.def.OfdTableDynamicService;
import com.lion.ball.modules.orderfood.web.api.OfdTableDynamicApi;

/**
 * @author Chris Chan
 * Create on 2025-10-18 13:33
 * Use for: 桌位动态数据 接口实现
 * Explain:
 * 
 */
@RestController
@RequestMapping("ofd/table/dynamic")
public class OfdTableDynamicController implements OfdTableDynamicApi, BaseCrudController<
        OfdTableDynamicEntity,
        OfdTableDynamicCreateParam,
        OfdTableDynamicUpdateParam,
        OfdTableDynamicSearchParam,
        OfdTableDynamicOrderParam,
        OfdTableDynamicResult,
        OfdTableDynamicRepository,
        OfdTableDynamicConverter,
        OfdTableDynamicService
        > {

    @Autowired
    OfdTableDynamicService ofdTableDynamicService;

    @Override
    public OfdTableDynamicService getService() {
        return ofdTableDynamicService;
    }
}